import Layout from '@/layout/index.vue'

const commodity = [
  {
    path: '/commodity',
    name: 'Commodity',
    component: Layout,
    children: [
      {
        path: 'comment',
        name: 'Comment',
        component: () => import('@/views/commodity/comment'),
        meta: {
          system: '商品管理',
          title: '商品评论'
        }
      },
      {
        path: 'grounding',
        name: 'Grounding',
        component: () => import('@/views/commodity/grounding'),
        meta: {
          system: '商品管理',
          title: '商品上架'
        }
      },
      {
        path: 'list',
        name: 'List',
        component: () => import('@/views/commodity/list'),
        meta: {
          system: '商品管理',
          title: '商品列表'
        }
      }
    ]
  }
]

export default commodity
